package net.wanho.shop.mapper;

import net.wanho.shop.entity.Detail;
import net.wanho.shop.vo.DetailVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【detail(订单明细表)】的数据库操作Mapper
* @createDate 2025-09-24 09:07:39
* @Entity net.wanho.shop.entity.Detail
*/
public interface DetailMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Detail record);

    int insertSelective(Detail record);

    Detail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Detail record);

    int updateByPrimaryKey(Detail record);

    List<DetailVo> selectByOrdersId(Integer ordersId);
}
